﻿<UserControl x:Class="Atlanchim.Crm.Mui.Rapports.PageRapportSocietes"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:mui="http://firstfloorsoftware.com/ModernUI"
             xmlns:rv="clr-namespace:Microsoft.Reporting.WinForms;assembly=Microsoft.ReportViewer.WinForms"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="30"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        
        <TextBlock Text="Rapport" Style="{StaticResource Heading2}" />

        <ScrollViewer Grid.Row="1" >
                <WindowsFormsHost Foreground="{x:Null}">
                    <rv:ReportViewer x:Name="_reportViewer" AutoSize="True" Dock="Fill"/>
                </WindowsFormsHost>
        </ScrollViewer>
    </Grid>
</UserControl>
